
package pkg3hge_plh24;

 

public class Evaluation {
    
    //Fields
    
    private int evId;
    private int quality;
    private int price;
    private int servTime;
    private double mo;
    private Restaurant rest;
    private Users user;

    
//Methods    
    //Constarctors
    public  Evaluation ( int evId, int quality, int price, int servTime, 
                        double mo,  Restaurant rest, Users user){
    this.evId= evId;
    this.quality=quality;
    this.price= price;
    this.servTime=servTime;
    this.mo=mo;
    this.rest=rest;
    this.user=user;
   }
    
    //Getters
    public int getEvId (){return evId; }
    
    public int getQuality (){return quality; }
    
    public int getPrice(){return price; }
    
    public int getServTime(){return servTime;}
    
    public double getMo(){ return mo;}
    
    public Restaurant getRest (){ return rest;}
    
    public Users getUser(){return user;}
    
    
   //Setters
    public void setEvId (int evId){this.evId=evId;}
    
    public void setQuality (int quality){this.quality=quality; }
    
    public void setPrice(int price){this.price=price; }
    
    public void setServTime(int servTime){this.servTime=servTime;}
    
    public void setMo(double mo){ this.mo=mo;}
    
    public void setRest (Restaurant rest){ this.rest=rest;}
    
    public void setUser( Users user ){this.user=user;}
    
    
    
}
